<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>页面不存在</title>
    <style>
        body
        {
            font-family:  'Times New Roman',Courier, monospace;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 80vh;
            margin: 0;
            background:linear-gradient(to right,rgb(9, 245, 245),rgb(67, 36, 240))
        }

        .notfound
        {
            position: relative;
            width: 500px;
            height: 200px;
            box-sizing: border-box;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            border: 5px solid rgb(36, 59, 136);
            border-radius: 10px;
            color:rgb(158, 75, 75);
            text-align: center;
            background: rgb(27, 169, 194);
        }

        .back
        {
            width: 120px;
            height: 50px; 
            position: relative;
            left: 130px;
            font-size: 20px;
            background-color: transparent;
            transition: background 0.3s ease;
            border: 5px solid rgb(0, 0, 0);
            border-radius: 10px;
        }

        .back:hover 
        {
            background: #6cc6dd;
        }

        .back:active 
        {
            transform: translateY(2px);
        }
    </style>
</head>
<body>
    <div class="notfound">
        <h1><br>404 NOT FOUND</h1>
        <button class="back" id="back">返回主页</button>
    </div>

    <script>
            document.getElementById("back").addEventListener("click", () => {
                window.location.href = "/login.html";
            });
    </script>
</body>
</html>